Total Complexity | 20 |
Dependencies | 0 |
Dependents | 3 |
Total lines | 148 |
Lines of code | 67 |
Logical lines of code | 26 |
Comment lines | 67 |
Methods | 9 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
maybe_extract_ip() | 59 | 6 | 15 | |
get_current() | 52 | 5 | 25 | |
expand() | 66 | 3 | 9 | |
is_current_private() | 77 | 1 | 3 | |
is_current_public() | 79 | 1 | 3 | |
expand_v4() | 77 | 1 | 3 | |
normalize_v4() | 78 | 1 | 3 | |
expand_v6() | 76 | 1 | 3 | |
normalize_v6() | 77 | 1 | 3 |